package model.item;

import model.mapping.ItemMapping;

public class EnergyItem extends ResourceItem
{
	public EnergyItem(ItemMapping im, int amount)
	{
		super("ENERGY_ITEM", im, amount);
	}
	
	public void affect(ItemUser p)
	{
		p.giveEnergy(getResourceAmount());
	}

}
